//package com.weseal.config;
//
//import com.weseal.aop.ExceptionAspect;
//import com.weseal.utils.MasterRealm;
//import org.apache.log4j.Logger;
//import org.apache.shiro.spring.LifecycleBeanPostProcessor;
//import org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor;
//import org.apache.shiro.spring.web.ShiroFilterFactoryBean;
//import org.apache.shiro.web.filter.authc.FormAuthenticationFilter;
//import org.apache.shiro.web.mgt.DefaultWebSecurityManager;
//import org.apache.shiro.web.mgt.WebSecurityManager;
//import org.springframework.aop.framework.autoproxy.DefaultAdvisorAutoProxyCreator;
//import org.springframework.beans.factory.config.MethodInvokingFactoryBean;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.ComponentScan;
//import org.springframework.context.annotation.Configuration;
//import org.springframework.context.annotation.DependsOn;
//import org.springframework.context.annotation.EnableAspectJAutoProxy;
//import org.springframework.context.annotation.FilterType;
//import org.springframework.context.annotation.Import;
//import org.springframework.context.annotation.PropertySource;
//import org.springframework.context.support.PropertySourcesPlaceholderConfigurer;
//import org.springframework.core.annotation.Order;
//import org.springframework.stereotype.Controller;
//
///**
// * Description: <应用配置类>. <br>
// * <p>
// * <负责注册除Controller等web层以外的所有bean，包括aop代理，service层，dao层，缓存，等等>
// * </p>
// * Makedate:2014年9月3日 上午9:58:15
// *
// * @author Administrator
// * @version V1.0
// */
////@Configuration
////@ComponentScan(basePackages = "com.weseal", excludeFilters = {@ComponentScan.Filter(type = FilterType.ANNOTATION, value = {Controller.class})})
////@PropertySource("classpath:application.properties")
////@Import(value = {ShiroConfig.class})
//public class AppConfig {
//
//	private static final Logger logger = Logger.getLogger(MvcConfig.class);
//
//	@Bean
//	public static PropertySourcesPlaceholderConfigurer placehodlerConfigurer() {
//		logger.info("PropertySourcesPlaceholderConfigurer");
//		return new PropertySourcesPlaceholderConfigurer();
//	}
//
//	/*
//	 *
//	 * <!-- 激活自动代理功能 参看：web.function.aop.aspect.DemoAspect -->
//	 * <aop:aspectj-autoproxy proxy-target-class="true" />
//	 *
//	 * @EnableAspectJAutoProxy(proxyTargetClass=true) 与声明下面的bean作用相同
//	 */
////	@Bean
////	public AnnotationAwareAspectJAutoProxyCreator annotationAwareAspectJAutoProxyCreator() {
////		logger.info("AnnotationAwareAspectJAutoProxyCreator");
////		AnnotationAwareAspectJAutoProxyCreator aspectJAutoProxyCreator = new AnnotationAwareAspectJAutoProxyCreator();
////		// false:使用JDK动态代理织入增强 [基于目标类的接口] true:使用CGLib动态代理织入增强[基于目标类]
////		aspectJAutoProxyCreator.setProxyTargetClass(true);
////		return aspectJAutoProxyCreator;
////	}
//
//
//}
